// 会员资讯api
import http from '../../config';
var querystring = require('querystring');
export default {
    // 获取分页
    getMemberNewsPage(params) {
        return http.get(
            '/api/getMemberNewsPage', {
            'params': params
        }
        );
    },
    //详情
    getMemberNews(params) {
        return http.get(
            '/api/getMemberNews', {
            'params': params
        }
        );
    },
    // 添加
    addMemberNews(params) {
        return http.post(
            '/api/addMemberNews', params
        );
    },
    //编辑
    modifyMemberNews(params) {
        return http.post(
            '/api/modifyMemberNews', params
        );
    },
    //撤回
    revokeMemberNews(params) {
        return http.post(
            '/api/revokeMemberNews', params
        );
    },
    //删除
    deleteMemberNews(params) {
        return http.post(
            '/api/deleteMemberNews', params
        );
    },
}